# -*- mode: python; -*-
#
# Copyright (c) 2015 Juniper Networks, Inc. All rights reserved.
#

import sys
Import('AgentEnv')
env = AgentEnv.Clone()

FlowStatsSandeshGenFiles = env.SandeshGenCpp('flow_stats.sandesh')
FlowStatsSandeshGenSrcs = env.ExtractCpp(FlowStatsSandeshGenFiles)
FlowStatsSandeshGenObjs = env.Object(FlowStatsSandeshGenSrcs)

libflowstats = env.Library('flowstats',
                          FlowStatsSandeshGenObjs +
                         [
                          'flow_export_info.cc',
                          'flow_stats_collector.cc',
                          'session_stats_collector.cc',
                          'flow_stats_manager.cc'
                         ])
env.SConscript('test/SConscript', exports='AgentEnv', duplicate=0)
